#ifndef DIALOG_CTRL
#define DIALOG_CTRL

#include <Windows.h>

#include "ListViewCtrl.hpp"

namespace GUI
{
	class DialogCtrl
	{
	public:
		DialogCtrl(HWND hWndParent);
		~DialogCtrl();

		WPARAM run(int nCmdShow);

	private:
		static BOOL CALLBACK DlgProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
		static BOOL OnCommand(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);

		HWND hDialog;
		static ListViewCtrl *lVCtrl;
	};
}

#endif